report_matrix_size_error Subroutine

public subroutine report_matrix_size_error(fcn, err, name, expectedRows, expectedCols, actualRows, actualCols)

Reports a matrix size error.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: fcn

The name of the function that failed.

class(errors), intent(inout) :: err

The error object to be updated.

character(len=*), intent(in) :: name

The name of the matrix.

integer(kind=int32), intent(in) :: expectedRows

The expected number of rows in the matrix.

integer(kind=int32), intent(in) :: expectedCols

The expected number of columns in the matrix.

integer(kind=int32), intent(in) :: actualRows

The actual number of rows in the matrix.

integer(kind=int32), intent(in) :: actualCols

The actual number of columns in the matrix.


Variables

Type Visibility Attributes Name Initial
character(len=256), public :: msg